package com.neu.cpspgateway.service;

import com.neu.cpspgateway.pojo.AuthorityUser;

import java.util.List;

public interface AuthorityService {

    List<AuthorityUser> selectAuthorityUserBySubSystemId(Integer subSystemId);

    AuthorityUser selectAuthorityAndUserByUserId(Integer userId);

    int updateLookAuthorityByUserId(Integer userId, Boolean lookAuthority);

    int updateEditAuthorityByUserId(Integer userId, Boolean editAuthority);

    List<AuthorityUser> selectAuthorityUserByNameAndSubSystemId(String name,Integer subSystemId);
}
